<h1>Listing academic_spaces</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Abbreviation</th>
    <th>Capacity</th>
    <th>Academic space type</th>
  </tr>

<% @academic_spaces.each do |academic_space| %>
  <tr>
    <td><%=h academic_space.name %></td>
    <td><%=h academic_space.abbreviation %></td>
    <td><%=h academic_space.capacity %></td>
    <td><%=h academic_space.academic_space_type %></td>
    <td><%= link_to 'Show', academic_space %></td>
    <td><%= link_to 'Edit', edit_academic_space_path(academic_space) %></td>
    <td><%= link_to 'Destroy', academic_space, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New academic_space', new_academic_space_path %>